Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

126
Views
Chart.js major ticks are not showing while using ticks.source: "labels" on type: "timeseries"

I'm trying to show major ticks on the x-axis while using the type: "timeseries" option, but they are not showing.

My x-axis options:

xAxis: {
          bounds: "ticks",
          grid: {
            display: false,
          },
          type: "time",
          time: {
            unit: "hour",
            stepSize: 3,
            displayFormats: {
              day: "d. MMM",
              hour: "HH:mm",
            },
            tooltipFormat: "EEEE, MMM dd, HH:mm:ss",
          },
          adapters: {
            date: {
              locale: pl,
            },
          },
          ticks: {
            maxTicksLimit: 7.1,
            // source: "labels",
            maxRotation: 0,
            major: {
              enabled: true,
            }
          },
        }

Without ticks.source: "labels" major ticks are showed. How could I make it work with the source: "labels" option

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!